.class public Lcom/estrongs/android/widget/e;
.super Ljava/lang/Object;
.source "FileDataProvider.java"


# instance fields
.field a:I

.field private b:[Ljava/io/File;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Lcom/estrongs/android/widget/e;->a:I

    return-void
.end method


# virtual methods
.method public a()I
    .locals 1

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 6
    :cond_0
    array-length v0, v0

    return v0
.end method

.method public a(I)Ljava/lang/Object;
    .locals 1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    aget-object p1, v0, p1

    return-object p1
.end method

.method protected a(Ljava/io/File;Ljava/lang/String;)Ljava/lang/Object;
    .locals 0

    const p0, 0x0

    throw p0
.end method

.method public a(Ljava/lang/String;)Ljava/lang/Object;
    .locals 2

    .line 1
    iget v0, p0, Lcom/estrongs/android/widget/e;->a:I

    invoke-virtual {p0}, Lcom/estrongs/android/widget/e;->a()I

    move-result v1

    if-lt v0, v1, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/widget/e;->a()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/estrongs/android/widget/e;->a:I

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    iget v1, p0, Lcom/estrongs/android/widget/e;->a:I

    aget-object v0, v0, v1

    invoke-virtual {p0, v0, p1}, Lcom/estrongs/android/widget/e;->a(Ljava/io/File;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public a([Ljava/io/File;)Z
    .locals 0

    .line 7
    iput-object p1, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    const/4 p1, 0x1

    return p1
.end method

.method public b(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/widget/e;->a:I

    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 4

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    if-nez v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 4
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    array-length v3, v2

    if-ge v1, v3, :cond_2

    .line 5
    aget-object v2, v2, v1

    invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    .line 6
    invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    goto :goto_1

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 7
    :cond_2
    :goto_1
    iget-object p1, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    array-length v2, p1

    if-ne v1, v2, :cond_3

    return-void

    .line 8
    :cond_3
    array-length p1, p1

    add-int/lit8 p1, p1, -0x1

    new-array p1, p1, [Ljava/io/File;

    :goto_2
    if-ge v0, v1, :cond_4

    .line 9
    iget-object v2, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    aget-object v2, v2, v0

    aput-object v2, p1, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_4
    :goto_3
    add-int/lit8 v1, v1, 0x1

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    array-length v2, v0

    if-ge v1, v2, :cond_5

    add-int/lit8 v2, v1, -0x1

    .line 11
    aget-object v0, v0, v1

    aput-object v0, p1, v2

    goto :goto_3

    .line 12
    :cond_5
    iput-object p1, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    return-void
.end method

.method public b()[Ljava/io/File;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/e;->b:[Ljava/io/File;

    return-object v0
.end method
